<?php
/**
 * The Template for displaying all single posts.
 *
 * @package WordPress
 * @subpackage Twenty_Ten
 * @since Twenty Ten 1.0
 */

get_header(); ?>

		<div id="container">
			<div id="content" role="main">
				
				<div class = "entry-list">
					<div class = "etlh">
					<div class = "etrh">
					<div class="et-header">
					<span class = "cat-title left">
					<h2>
						<div class="current-place">
							<a><?php _e('您的位置：');?></a>
								<a href="<?php echo get_settings('home'); ?>/" title="<?php _e('Home');?>"><?php _e('Home');?></a>&nbsp;&gt;
					<?php $categorys = get_the_category();
								$category = $categorys[0];
								echo(get_category_parents($category->term_id,true,' > '));
					?><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a>							
						</div>
					</h2>
					</span>
					</div><!--et-header-->
					</div><!--etrh-->
					  </div><!--etlh-->
				
				<div class="rec-entry single-ent" >
<?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?>

				<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
					<h1 class="entry-title sing-entry-title"><?php the_title(); ?></h1>

					<div class="entry-meta single-meta">
						<?php twentyten_posted_on(); ?>
						<span class="comments-link single-comments-link"><?php comments_popup_link( __( '我要评论', 'xiufanr' ), __( '我要评论【已有1条评论】', 'xiufanr' ), __( '我要评论【已有%条评论】', 'xiufanr' ) ); ?></span>
					</div><!-- .entry-meta -->
					<div class="single-ads">
						<script type="text/javascript"><!--
						google_ad_client = "pub-6848351779270696";
						/* 300x250, 创建于 11-1-24 */
						google_ad_slot = "2200750996";
						google_ad_width = 300;
						google_ad_height = 250;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
					</div>
					<div class="entry-content single-entry-content">
						<?php the_content(); ?>
						<?php wp_link_pages( array( 'before' => '<div class="page-link">' . __( 'Pages:', 'xiufanr' ), 'after' => '</div>' ) ); ?>
					</div><!-- .entry-content -->
					
					<div class="singlebottom-ads">
						<script type="text/javascript"><!--
						google_ad_client = "pub-6848351779270696";
						/* 468x60, 创建于 11-1-28 */
						google_ad_slot = "6148565388";
						google_ad_width = 468;
						google_ad_height = 60;
						//-->
						</script>
						<script type="text/javascript"
						src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
						</script>
						</div>
					<div class="entry-utility single-entry-utility">
						<?php //twentyten_posted_in(); ?>
						<ul>
						<li>
						<span><?php _e('分类：','xiufanr');?></span><?php echo get_the_category_list( ', ' );?>
						</li>
						<li>
						<span><?php _e('标签：','xiufanr');?></span><?php echo get_the_tag_list( '', ', ' );?>
						</li>
						<li>
						<span><?php _e('本文链接：','xiufanr');?></span><a href="<?php echo get_permalink();?>" title = "<?php echo the_title_attribute( 'echo=0' );?>"><?php echo the_title_attribute( 'echo=0' );?></a>
						</li>
						<!--li>
						<span><?php //_e('版权所有:','xiufanr');?></span>
						</li>
						<li>
						<span><?php //_e('订阅我们:','xiufanr');?></span>
						</li-->
						</ul>
						<?php edit_post_link( __( 'Edit', 'xiufanr' ), '<span class="edit-link">', '</span>' ); ?>
					</div><!-- .entry-utility -->
				</div><!-- #post-## -->

				<div id="nav-below" class="navigation">
					<div class="nav-previous"><?php previous_post_link( '%link', '<span class="meta-nav">' . _x( '上一篇：', 'Previous post link', 'xiufanr' ) . '</span> %title' ); ?></div>
					<div class="nav-next"><?php next_post_link( '%link', '<span class="meta-nav">' . _x( '下一篇：', 'Next post link', 'xiufanr' ) . '</span> %title' ); ?></div>
				</div><!-- #nav-below -->

				<?php comments_template( '', true ); ?>

<?php endwhile; // end of the loop. ?>
					</div><!--rec-entry-->	
						<div class = "bg-bottom">
							<div class = "bg-bottom-r"></div>
					  </div>
			</div><!--entry-list-->
			</div><!-- #content -->
		</div><!-- #container -->

<?php get_sidebar(); ?>
<?php get_footer(); ?>
